package com.song.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;


//http://localhost:7001/
//http://eureka7001.com:7001/

@EnableEurekaServer  //服务端的启动类，可以接受别人注册进来
@SpringBootApplication
public class EurekaServer_7001 {
    public static void main(String[] args) {
        SpringApplication.run(EurekaServer_7001.class,args);
        System.out.println("EurekaServer_7001启动了");
    }
}
